import pytest, time
from selenium.webdriver.common.by import By


class AdminEnterpriseUserLocator:
    """
          admin portal 页面
         """
    # admin portal 页面
    admin_portal_page = (By.CSS_SELECTOR, '[id="root"]')
    # 初始页面展开的tab
    default_page_expanded = (By.CSS_SELECTOR, '[aria-expanded="true"]')

    # Enterprise User_tab
    enterprise_user_tab = (By.XPATH, "//div[contains(@data-menu-id,'MANAGEMENT_PLT_ENTERPRISE_USER')]")

    # admin portal 页面左侧栏的Enterprise User下的Organization按钮
    enterprise_user_organization_title = (By.CSS_SELECTOR, '[path="/console/organization/enterPriseUser"]')
    # admin portal 页面左侧栏的Enterprise User下的User按钮
    enterprise_user_user_title = (By.CSS_SELECTOR, '[path="/console/user/enterPriseUser"]')
    # admin portal 页面左侧栏的Enterprise User下的Role按钮
    enterprise_user_role_title = (By.CSS_SELECTOR, '[path="/console/role/enterPriseUser"]')
    # admin portal 页面左侧栏的Enterprise User下的User Group按钮
    enterprise_user_user_group_title = (By.CSS_SELECTOR, '[path="/console/userGroup/enterPriseUser"]')
    # admin portal的Enterprise User下的Organization页面
    enterprise_user_organization_page = (By.XPATH, '(//div[@class="cre-page-container-header-panel-left"])/span')
    # admin portal的Enterprise User下的User 页面
    enterprise_user_user_page = (By.XPATH, '(//div[@class="cre-page-container-header-panel-left"])/span')
    # admin portal的Enterprise User下的Role页面
    enterprise_user_role_page = (By.XPATH, '(//div[@class="cre-page-container-header-panel-left"])/span')
    # admin portal的Enterprise User下的User Group页面
    enterprise_user_user_group_page = (By.XPATH, '(//div[@class="cre-page-container-header-panel-left"])/span')

    # Enterprise User->Immediate Member页面标题
    organization_immediate_member_title = (By.CSS_SELECTOR, '[id="rc-tabs-0-tab-immediateMember"]')

    #  Enterprise User->Organization页面字段Account Email
    organization_account_email = (By.XPATH, '//*[@class="antd4-table-content"]/table/thead/tr/th[1]')
    #  Enterprise User->Organization页面字段Status
    organization_status = (By.XPATH, '//*[@class="antd4-table-content"]/table/thead/tr/th[2]')
    #  Enterprise User->Organization页面字段User Name
    organization_user_name = (By.XPATH, '//*[@class="antd4-table-content"]/table/thead/tr/th[3]')
    #  Enterprise User->Organization页面字段Phone Number
    organization_phone_number = (By.XPATH, '//*[@class="antd4-table-content"]/table/thead/tr/th[4]')
    #  Enterprise User->Organization页面字段Creation Time (UTC+08:00)
    organization_creation_time = (By.XPATH, '//*[@class="antd4-table-content"]/table/thead/tr/th[5]')
    #  Enterprise User->Organization页面字段Actions
    organization_actions = (By.XPATH, '//*[@class="antd4-table-content"]/table/thead/tr/th[6]')

    #  Organization页面组织列表搜索输入框
    organization_list_search_input = (By.XPATH, '(//*[@class="leftContent___2Uxru"])/div/span/span/input')
    #  Organization页面组织列表搜索按钮
    organization_list_search_btn = (By.XPATH, '(//*[@class="leftContent___2Uxru"])/div/span/span/span/button')
    #  Organization页面组织列表搜索security有效关键字的结果数据security company
    organization_list_search_result_data = (By.CSS_SELECTOR, '[class="antd4-tree-title"]')
    #  Organization页面组织列表搜索security123无效关键字的无结果数据No Data
    organization_list_search_no_result_data = (By.XPATH, '(//*[@class="sider___310Oo"])/div/div/div/div[2]')

    #  Organization页面成员信息搜索输入框
    organization_search_input = (By.CSS_SELECTOR, '[id="creForm_searchVal"]')
    #  Organization页面成员信息搜索按钮
    organization_search_btn = (By.XPATH, '(//*[@class="antd4-input-group-addon"])[2]/button')
    #  Organization页面成员信息搜索hfpostpaid有效关键字的结果数据hfpostpaid@qq.com
    organization_search_result_data = (By.XPATH, '(//*[@class="antd4-table-tbody"])[1]/tr[2]/td/div/button/span')
    #  Organization页面成员信息搜索hfpostpaid123无效关键字的无结果数据No Data
    organization_search_no_result_data = (By.CSS_SELECTOR, '[class="antd4-empty-description"]')

    # Organization页面成员信息筛选功能Status检索按钮
    organization_status_filter_btn = (By.CSS_SELECTOR, '[class="anticon anticon-filter"]')
    # Organization页面成员信息筛选功能Status检索弹框
    organization_status_filter_box = (By.CSS_SELECTOR, '[class="antd4-table-filter-dropdown"]')
    # Organization页面成员信息筛选功能Status检索弹框的reset按钮
    organization_status_filter_reset_btn = (By.XPATH, '(//*[@class="antd4-table-filter-dropdown-btns"])/button[1]')
    # Organization页面成员信息筛选功能Status检索弹框的ok按钮
    organization_status_filter_ok_btn = (By.XPATH, '(//*[@class="antd4-table-filter-dropdown-btns"])/button[2]')
    # Organization页面成员信息筛选检索结果数据
    organization_status_filter_data = (By.CSS_SELECTOR, '[class="antd4-table-tbody"]')
    # Organization页面成员信息筛选检索结果的status状态Normal信息
    organization_status_filter_information = (By.CSS_SELECTOR, '[class="antd4-badge-status-text"]')
    # Organization页面成员重置用户密码按钮
    organization_reset_pwd_btn = (By.CSS_SELECTOR, '[class="antd4-btn antd4-btn-link table-operation-btnLine-btn"]')
    # Organization页面成员重置用户密码提示弹框
    organization_reset_pwd_box = (By.CSS_SELECTOR, '[class="antd4-modal-content"]')
    # Organization页面成员重置用户密码提示弹框提示语1  User must agree with you to help reset password.
    organization_reset_pwd_box_tips1 = (By.XPATH, '//div[@class="antd4-alert-content"]/div/div[1]')
    # Organization页面成员重置用户密码提示弹框提示语2  New password will be sent to user via selected channel(s).
    organization_reset_pwd_box_tips2 = (By.XPATH, '//div[@class="antd4-alert-content"]/div/div[2]')
    # Organization页面成员重置用户密码提示弹框的I acknowledge 提示语
    organization_reset_pwd_acknowledge_tips = (By.XPATH, '//label[@class="antd4-checkbox-wrapper"]/span[2]/span')
    # Organization页面成员重置用户密码提示弹框的I acknowledge 提示勾选按钮
    organization_reset_pwd_acknowledge_btn = (By.XPATH, '//div[@class="antd4-modal-body"]/div/div/div[2]/div/label/span[1]/input')
    # Organization页面成员重置用户密码提示弹框Cancel按钮
    organization_reset_pwd_cancel_btn = (By.XPATH, '//div[@class="antd4-modal-footer"]/button[1]')
    # Organization页面成员重置用户密码提示弹框的OK按钮
    organization_reset_pwd_ok_btn = (By.XPATH, '//div[@class="antd4-modal-footer"]/button[2]')
    # Organization页面成员重置用户密码成功的提示语 Reset password successfully.
    organization_reset_pwd_succcess_tips = (By.XPATH, '//div[@class="antd4-message-notice-content"]/div/span[2]')

    # status_list
    status_list = (By.XPATH, '//div[@class="antd4-table-filter-dropdown"]/ul/li/span/span')

    #  Organization页面成员信息页菜单按钮
    organization_member_info_menu_btn = (By.XPATH, '(//*[@class="table-operation"])[1]/div[3]/span')
    #  Organization页面成员信息页菜单lock按钮
    organization_member_lock_btn = (By.XPATH, '(//*[@class="antd4-dropdown-menu-title-content"])[1]')
    #  Organization页面成员信息页菜单unlock按钮
    organization_member_unlock_btn = (By.XPATH, '(//*[@class="antd4-dropdown-menu-title-content"])[2]')
    #  Organization页面成员信息页lock提示弹框
    organization_member_lock_box = (By.CSS_SELECTOR, '[class="antd4-modal-content"]')
    #  Organization页面成员信息页lock提示弹框的提示语1 The user was confirmed to be unsecure on system.
    organization_member_lock_box_tips1 = (By.XPATH, '(//*[@class="main___1Mt3G"])/div/div/div[1]')
    #  Organization页面成员信息页lock提示弹框的提示语2  After locking account, user can not access system from next login try.
    organization_member_lock_box_tips2 = (By.XPATH, '(//*[@class="main___1Mt3G"])/div/div/div[2]')
    #  Organization页面成员信息页lock提示弹框的I acknowledge勾选按钮框
    organization_member_lock_acknowledge_btn = (By.CSS_SELECTOR, '[class="antd4-checkbox-input"]')
    #  Organization页面成员信息页lock提示弹框的cancel按钮
    organization_member_lock_cancel_btn = (By.CSS_SELECTOR, '[class="antd4-btn antd4-btn-default"]')
    #  Organization页面成员信息页lock提示弹框的ok按钮
    organization_member_lock_ok_btn = (By.CSS_SELECTOR, '[class="antd4-btn antd4-btn-primary"]')
    #  Organization页面成员信息页成员锁定成功提示语 Locked successfully.
    organization_member_lock_success_tips = (By.XPATH, '(//*[@class="antd4-message-notice-content"])/div/span[2]')

    #  Organization页面成员信息页unlock提示弹框
    organization_member_unlock_box = (By.CSS_SELECTOR, '[class="antd4-modal-content"]')
    #  Organization页面成员信息页unlock提示弹框的提示语1 The user was confirmed to be secure on system.
    organization_member_unlock_box_tips1 = (By.XPATH, '(//*[@class="main___1Mt3G"])/div/div/div[1]')
    #  Organization页面成员信息页unlock提示弹框的提示语2  After unlocking account, user can access system from next login try.
    organization_member_unlock_box_tips2 = (By.XPATH, '(//*[@class="main___1Mt3G"])/div/div/div[2]')
    #  Organization页面成员信息页unlock提示弹框的I acknowledge勾选按钮框
    organization_member_unlock_acknowledge_btn = (By.CSS_SELECTOR, '[class="antd4-checkbox-input"]')
    #  Organization页面成员信息页unlock提示弹框的cancel按钮
    organization_member_unlock_cancel_btn = (By.CSS_SELECTOR, '[class="antd4-btn antd4-btn-default"]')
    #  Organization页面成员信息页unlock提示弹框的ok按钮
    organization_member_unlock_ok_btn = (By.CSS_SELECTOR, '[class="antd4-btn antd4-btn-primary"]')
    #  Organization页面成员信息页成员解锁成功提示语 Unlocked successfully.
    organization_member_unlock_success_tips = (By.XPATH, '(//*[@class="antd4-message-notice-content"])/div/span[2]')

    # Organization页面Action按钮
    organization_action_btn = (By.CSS_SELECTOR, '[class="antd4-btn antd4-btn-default antd4-dropdown-trigger"]')
    # Organization页面Action菜单edit按钮
    organization_action_edit_btn = (By.XPATH, '(//*[@class="antd4-dropdown antd4-dropdown-placement-bottomLeft "])/ul/li[1]/span')
    # Organization 成员信息编辑页面标题 Basic Information
    organization_action_edit_title = (By.CSS_SELECTOR, '[class="edit-org-basic-title"]')
    # Organization 成员信息编辑页面Company Name:可编辑栏
    organization_action_edit_company_name_title = (By.XPATH, '(//*[@class="antd4-form-item-required"])[1]')
    # Organization 成员信息编辑页面VAT number:可编辑栏
    organization_action_edit_vat_num_title = (By.XPATH, '(//*[@class="antd4-form-item-required"])[2]')
    # Organization 成员信息编辑页面Phone Number可编辑栏
    organization_action_edit_phone_num_title = (By.XPATH, '(//*[@class="antd4-form-item-required"])[3]')
    # Organization 成员信息编辑页面Post Code:可编辑栏
    organization_action_edit_post_code_title = (By.XPATH, '(//*[@class="antd4-form-item-required"])[4]')
    # Organization 成员信息编辑页面State/Province:可编辑栏
    organization_action_edit_state_province_title = (By.XPATH, '(//*[@class="antd4-form-item-required"])[5]')
    # Organization 成员信息编辑页面City:可编辑栏
    organization_action_edit_city_title = (By.XPATH, '(//*[@class="antd4-form-item-required"])[6]')
    # Organization 成员信息编辑页面Address:可编辑栏
    organization_action_edit_address_title = (By.XPATH, '(//*[@class="antd4-form-item-required"])[7]')
    # Organization 成员信息编辑页面Credit Limit:可编辑栏
    organization_action_edit_credit_limit_title = (By.XPATH, '(//*[@class="antd4-form-item-required"])[8]')
    #  Organization成员信息编辑页面的cancel按钮
    organization_action_edit_cancel_btn = (By.CSS_SELECTOR, '[class="antd4-btn antd4-btn-default"]')
    #  Organization成员信息编辑页面的ok按钮
    organization_action_edit_ok_btn = (By.CSS_SELECTOR, '[class="antd4-btn antd4-btn-primary orgDrawerButtonOk___1bpjm"]')
    #  Organization页面成员信息编辑成功提示语 Edited successfully.
    organization_action_edit_success_tips = (By.XPATH, '(//*[@class="antd4-message-notice-content"])/div/span[2]')

    #  User页面的Account Email字段
    user_account_email_title = (By.XPATH, '(//*[@class="antd4-table-cell"])[1]')
    #  User页面的Status字段
    user_status_title = (By.XPATH, '(//*[@class="antd4-table-cell"])[2]/div/span[1]')
    #  User页面的Dunning Status字段
    user_dunning_status_title = (By.XPATH, '(//*[@class="antd4-table-cell"])[3]/div/span[1]')
    #  User页面的User Name字段
    user_user_name_title = (By.XPATH, '(//*[@class="antd4-table-cell"])[4]')
    #  User页面的Phone Number字段
    user_phone_number_title = (By.XPATH, '(//*[@class="antd4-table-cell"])[5]')
    #  User页面的User Group字段
    user_user_group_title = (By.XPATH, '(//*[@class="antd4-table-cell"])[6]')
    #  User页面的Organization字段
    user_organization_title = (By.XPATH, '(//*[@class="antd4-table-cell"])[7]')
    #  User页面的Creation Time (UTC+08:00)字段
    user_creation_time_title = (By.XPATH, '(//*[@class="antd4-table-cell"])[8]')
    #  User页面的Actions字段
    user_actions_title = (By.XPATH, '(//*[@class="antd4-table-thead"])/tr/th[9]')

    #  User页面的搜索输入框
    user_search_input_box = (By.CSS_SELECTOR, '[id="fuzzy"]')
    #  User页面的搜索按钮
    user_search_btn = (By.CSS_SELECTOR, '[class="anticon anticon-search"]')
    #  User页面的搜索结果用户邮箱信息 hfpostpaid@qq.com
    user_search_account_email = (By.XPATH, '(//*[@class="config-theme-system-user-primary-font email___3vX7e"])/button/span')
    #  User页面的搜索结果用户手机号码 (62)1222222278944
    user_search_phone_num = (By.XPATH, '(//*[@class="antd4-table-tbody"])/tr[2]/td[5]/span')
    #  User页面的搜索无效字符无数据结果 No Data
    user_search_no_data = (By.CSS_SELECTOR, '[class="antd4-empty-description"]')

    # User页面成员信息筛选功能Status检索按钮
    user_status_filter_btn = (By.CSS_SELECTOR, '[class="anticon anticon-filter"]')
    # User页面成员信息筛选功能Status检索弹框
    user_status_filter_box = (By.CSS_SELECTOR, '[class="antd4-table-filter-dropdown"]')
    # User页面成员信息筛选功能Status检索弹框的reset按钮
    user_status_filter_reset_btn = (By.XPATH, '(//*[@class="antd4-table-filter-dropdown-btns"])[1]/button[1]')
    # User页面成员信息筛选功能Status检索弹框的ok按钮
    user_status_filter_ok_btn = (By.XPATH, '(//*[@class="antd4-table-filter-dropdown-btns"])[1]/button[2]')
    # User页面成员信息筛选检索结果数据
    user_status_filter_data = (By.CSS_SELECTOR, '[class="antd4-table-tbody"]')
    # User页面成员信息筛选检索结果的status状态Normal\Inactive信息
    user_status_filter_information = (By.XPATH, '(//*[@class="antd4-badge-status-text"])[1]')

    # User页面成员重置用户密码按钮
    user_reset_pwd_btn = (By.CSS_SELECTOR, '[class="antd4-btn antd4-btn-link table-operation-btnLine-btn"]')
    # User页面成员重置用户密码提示弹框
    user_reset_pwd_box = (By.CSS_SELECTOR, '[class="antd4-modal-content"]')
    # User页面成员重置用户密码提示弹框提示语1  User must agree with you to help reset password.
    user_reset_pwd_box_tips1 = (By.XPATH, '//div[@class="antd4-alert-content"]/div/div[1]')
    # User页面成员重置用户密码提示弹框提示语2  New password will be sent to user via selected channel(s).
    user_reset_pwd_box_tips2 = (By.XPATH, '//div[@class="antd4-alert-content"]/div/div[2]')
    # User页面成员重置用户密码提示弹框的I acknowledge 提示语
    user_reset_pwd_acknowledge_tips = (By.XPATH, '//label[@class="antd4-checkbox-wrapper"]/span[2]/span')
    # User页面成员重置用户密码提示弹框的I acknowledge 提示勾选按钮
    user_reset_pwd_acknowledge_btn = (By.XPATH, '//div[@class="antd4-modal-body"]/div/div/div[2]/div/label/span[1]/input')
    # User页面成员重置用户密码提示弹框Cancel按钮
    user_reset_pwd_cancel_btn = (By.XPATH, '//div[@class="antd4-modal-footer"]/button[1]')
    # User页面成员重置用户密码提示弹框的OK按钮
    user_reset_pwd_ok_btn = (By.XPATH, '//div[@class="antd4-modal-footer"]/button[2]')
    # User页面成员重置用户密码成功的提示语 Reset password successfully.
    user_reset_pwd_succcess_tips = (By.XPATH, '//div[@class="antd4-message-notice-content"]/div/span[2]')

    #  User页面的用户邮箱信息栏
    user_account_email = (By.CSS_SELECTOR, '[class="config-theme-system-user-primary-font email___3vX7e"]')
    #  User的用户具体信息页面
    user_member_specific_info_page = (By.CSS_SELECTOR, '[class="cre-page-container-spin"]')
    #  User的用户具体信息的overview tab
    user_member_info_overview_tab = (By.CSS_SELECTOR, '[id="rc-tabs-0-tab-1"]')
    #  User的用户具体信息的User Group tab
    user_member_info_user_group_tab = (By.CSS_SELECTOR, '[id="rc-tabs-0-tab-2"]')
    #  User的用户具体信息的Audit tab
    user_member_info_audit_tab = (By.CSS_SELECTOR, '[id="rc-tabs-0-tab-3"]')
    #  User的用户具体信息的overview tab的基本信息页Basic Information标题
    user_member_basic_info_overview_title = (By.CSS_SELECTOR, '[class="antd4-descriptions-title"]')
    #  User的用户具体信息的User Group tab的基本信息页User Group字段
    user_member_info_user_group_field = (By.XPATH, '(//*[@class="antd4-table-cell"])[1]')
    #  User的用户具体信息的User Group tab的基本信息页Members字段
    user_member_info_members_field = (By.XPATH, '(//*[@class="antd4-table-cell"])[2]')
    #  User的用户具体信息的Audit tab的基本信息页Account Email字段
    user_member_info_audit_account_email_field = (By.XPATH, '(//*[@class="antd4-table-cell"])[1]')
    #  User的用户具体信息的Audit tab的基本信息页Event Type字段
    user_member_info_audit_event_type_field = (By.XPATH, '(//*[@class="antd4-table-cell"])[2]/div/span[1]')
    #  User的用户具体信息的Audit tab的基本信息页Remarks字段
    user_member_info_audit_remarks_field = (By.XPATH, '(//*[@class="antd4-table-cell"])[5]')

    #  Role页面的Role Name字段
    role_role_name_title = (By.XPATH, '(//*[@class="antd4-table-cell"])[1]')
    #  Role页面的Customer字段
    role_customer_title = (By.XPATH, '(//*[@class="antd4-table-cell"])[2]')
    #  Role页面的Role Type字段
    role_role_type_title = (By.XPATH, '(//*[@class="antd4-table-cell"])[3]')
    #  Role页面的Creation Time (UTC+08:00)字段
    role_creation_time_title = (By.XPATH, '(//*[@class="antd4-table-cell"])[4]')
    #  Role页面的Actions字段
    role_actions_title = (By.XPATH, '(//*[@class="antd4-table-thead"])/tr/th[5]')

    #  Role页面的搜索输入框
    role_search_input_box = (By.CSS_SELECTOR, '[class="antd4-input"]')
    #  Role页面的搜索按钮
    role_search_btn = (By.CSS_SELECTOR, '[class="anticon anticon-search"]')
    #  Role页面的搜索结果用户Role Name Default Enterprise Role
    role_search_role_name = (By.XPATH, '//*[@class="antd4-btn antd4-btn-link"]/span')
    #  Role页面的搜索结果用户customer qyuserCompany
    role_search_customer = (By.XPATH, '(//*[@class="antd4-table-tbody"])/tr[2]/td[2]/div')
    #  Role页面的搜索无效字符无数据结果 No Data
    role_search_no_data = (By.CSS_SELECTOR, '[class="antd4-empty-description"]')

    #  Role页面的用户Role Name栏
    role_role_name = (By.CSS_SELECTOR, '[class="antd4-btn antd4-btn-link"]')
    #  Role的用户具体信息页面
    role_member_specific_info_page = (By.CSS_SELECTOR, '[class="cre-page-container-content"]')
    #  Role的用户具体信息的overview tab
    role_member_info_overview_tab = (By.CSS_SELECTOR, '[id="rc-tabs-5-tab-1"]')
    #  Role的用户具体信息的Role Permissions tab
    role_member_info_role_permissions_tab = (By.XPATH, '//*[@class="antd4-tabs-nav-list"]/div[2]/div')
    #  Role的用户具体信息的overview tab的基本信息页overview标题
    role_member_overview_title = (By.XPATH, '//*[@class="OverView___8Bdbb"]/div[1]/div[1]')
    #  Role的用户具体信息的overview tab的基本信息页Role Type:字段
    role_member_overview_role_type_field = (By.XPATH, '//*[@class="antd4-descriptions-row"]/td[1]/div/span[1]/div/div')
    #  Role的用户具体信息的overview tab的基本信息页Creation Time (UTC+08:00):字段
    role_member_overview_creation_time_field = (By.XPATH, '//*[@class="antd4-descriptions-row"]/td[2]/div/span[1]/div/div')
    #  Role的用户具体信息的overview tab的基本信息页Role Allocation标题
    role_member_role_allocation_overview_title = (By.XPATH, '(//*[@class="cre-bs-title-subtitle-small"])[2]')
    #  Role的用户具体信息的Role Permissions tab的基本信息页Role Permissions标题
    role_member_info_role_permissions_title = (By.CSS_SELECTOR, '[class="title___3L7NJ"]')

    #  Role页面Role Allocation的Account Email字段
    role_account_email_field = (By.XPATH, '(//*[@class="ant-table-column-title"])[1]')
    #  Role页面Role Allocation的User Name字段
    role_user_name_field = (By.XPATH, '(//*[@class="ant-table-column-title"])[2]')
    #  Role页面Role Allocation的Phone Number字段
    role_phone_num_field = (By.XPATH, '(//*[@class="ant-table-column-title"])[3]')
    #  Role页面Role Allocation的Creation Time (UTC+08:00)字段
    role_creation_time_field = (By.XPATH, '(//*[@class="ant-table-column-title"])[4]')
    #  Role页面Role Allocation的Actions字段
    role_actions_field = (By.XPATH, '(//*[@class="ant-table-column-title"])[5]')

    #  Enterprise User->User Group页面字段Account Email
    user_group_account_email = (By.XPATH, '//*[@class="antd4-table-content"]/table/thead/tr/th[1]')
    #  Enterprise User->User Group页面字段Status
    user_group_status = (By.XPATH, '//*[@class="antd4-table-content"]/table/thead/tr/th[2]')
    #  Enterprise User->User Group页面字段User Name
    user_group_user_name = (By.XPATH, '//*[@class="antd4-table-content"]/table/thead/tr/th[3]')
    #  Enterprise User->User Group页面字段Phone Number
    user_group_phone_number = (By.XPATH, '//*[@class="antd4-table-content"]/table/thead/tr/th[4]')
    #  Enterprise User->User Group页面字段Creation Time (UTC+08:00)
    user_group_creation_time = (By.XPATH, '//*[@class="antd4-table-content"]/table/thead/tr/th[5]')

    #  Enterprise User->User Group页面成员信息搜索输入框
    user_group_search_input = (By.CSS_SELECTOR, '[id="searchVal"]')
    #  Enterprise User->User Group页面成员信息搜索按钮
    user_group_search_btn = (By.XPATH, '(//*[@class="antd4-input-group-addon"])[2]/button')
    #  Enterprise User->User Group页面成员信息搜索1095108有效关键字的结果数据1095108@qq.com
    user_group_search_result_data = (By.XPATH, '(//*[@class="tableEmail___3n6Xp"])/button/span')
    #  Enterprise User->User Group页面成员信息搜索1095108123无效关键字的无结果数据No Data
    user_group_search_no_result_data = (By.CSS_SELECTOR, '[class="antd4-empty-description"]')

    #  Enterprise User->User Group页面组织列表搜索输入框
    user_group_list_search_input = (By.CSS_SELECTOR, '[id="userGroupName"]')
    #  Enterprise User->User Group页面组织列表搜索按钮
    user_group_list_search_btn = (By.XPATH, '(//*[@class="pageLayoutBodyLeft___3Bt3f"])/div/div/form/span/span/span/button')
    #  Enterprise User->User Group页面组织列表搜索deit_user有效关键字的结果数据deit_user_group
    user_group_list_search_result_data = (By.XPATH, '(//*[@class="list___3afCv"])[1]/span')
    #  Enterprise User->User Group页面组织列表搜索deit_user123无效关键字的无结果数据No Data
    user_group_list_search_no_result_data = (By.XPATH, '(//*[@class="antd4-list-empty-text"])/div/div[2]')

    #  User Group页面的用户邮箱信息栏
    user_group_member_account_email = (By.XPATH, '(//*[@class="antd4-btn antd4-btn-link nopadding___1OmJg"])[1]')
    #  User Group的用户具体信息页面
    user_group_member_specific_info_page = (By.CSS_SELECTOR, '[class="cre-page-container-spin"]')
    #  User Group的用户具体信息的overview tab
    user_group_member_info_overview_tab = (By.CSS_SELECTOR, '[id="rc-tabs-1-tab-1"]')
    #  User Group的用户具体信息的User Group tab
    user_group_member_info_user_group_tab = (By.CSS_SELECTOR, '[id="rc-tabs-1-tab-2"]')
    #  User Group的用户具体信息的Audit tab
    user_group_member_info_audit_tab = (By.CSS_SELECTOR, '[id="rc-tabs-1-tab-3"]')
    #  User Group的用户具体信息的overview tab的基本信息页Basic Information标题
    user_group_member_basic_info_overview_title = (By.CSS_SELECTOR, '[class="antd4-descriptions-title"]')
    #  User Group的用户具体信息的User Group tab的基本信息页User Group字段
    user_group_member_info_user_group_field = (By.XPATH, '(//*[@class="antd4-table-cell"])[1]')
    #  User Group的用户具体信息的User Group tab的基本信息页Members字段
    user_group_member_info_members_field = (By.XPATH, '(//*[@class="antd4-table-cell"])[2]')
    #  User Group的用户具体信息的Audit tab的基本信息页Account Email字段
    user_group_member_audit_account_email = (By.XPATH, '(//*[@class="antd4-table-wrapper cre-table"])/div/div/div/div/div/table/thead/tr/th[1]')
    #  User Group的用户具体信息的Audit tab的基本信息页Event Type字段
    user_group_member_audit_event_type = (By.XPATH, '(//*[@class="antd4-table-wrapper cre-table"])/div/div/div/div/div/table/thead/tr/th[2]/div/span[1]')
    #  User Group的用户具体信息的Audit tab的基本信息页Remarks字段
    user_group_member_audit_remarks = (By.XPATH, '(//*[@class="antd4-table-wrapper cre-table"])/div/div/div/div/div/table/thead/tr/th[5]')















